VERSION 5.00
Begin VB.Form frmTaiTrong_CauTaoCot 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Tai trong va cau tao COT"
   ClientHeight    =   2760
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4440
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   9.75
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "TaiTrong_CauTaoCot.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2760
   ScaleWidth      =   4440
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmdOK 
      Cancel          =   -1  'True
      Caption         =   "&OK"
      Height          =   435
      Left            =   3120
      TabIndex        =   3
      Top             =   2220
      Width           =   1215
   End
   Begin VB.Frame Frame1 
      Caption         =   "Dieu kien tai trong trong khu vuc lien ket:"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1215
      Index           =   1
      Left            =   60
      TabIndex        =   5
      Top             =   900
      Width           =   4275
      Begin VB.TextBox txtBeta 
         Alignment       =   2  'Center
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   9.75
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   360
         Left            =   3000
         TabIndex        =   2
         Text            =   "txtBeta"
         Top             =   720
         Width           =   1155
      End
      Begin VB.ComboBox cboDieuKienTaiTrong 
         Height          =   360
         ItemData        =   "TaiTrong_CauTaoCot.frx":030A
         Left            =   120
         List            =   "TaiTrong_CauTaoCot.frx":030C
         Style           =   2  'Dropdown List
         TabIndex        =   1
         Top             =   300
         Width           =   4035
      End
      Begin VB.Label lblHw 
         Caption         =   "Gia tri Beta:"
         Height          =   285
         Index           =   7
         Left            =   300
         TabIndex        =   6
         Top             =   780
         Width           =   1095
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "Dieu kien cau tao cua COT:"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   795
      Index           =   0
      Left            =   60
      TabIndex        =   4
      Top             =   60
      Width           =   4275
      Begin VB.ComboBox cboCauTaoCot 
         Height          =   360
         ItemData        =   "TaiTrong_CauTaoCot.frx":030E
         Left            =   120
         List            =   "TaiTrong_CauTaoCot.frx":0310
         Style           =   2  'Dropdown List
         TabIndex        =   0
         Top             =   300
         Width           =   4035
      End
   End
End
Attribute VB_Name = "frmTaiTrong_CauTaoCot"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cboDieuKienTaiTrong_Click()
     Select Case cboDieuKienTaiTrong.ListIndex
     Case 0
          txtBeta.Text = "1"
     Case 1
          txtBeta.Text = "0"
     Case 2
          txtBeta.Text = "1"
     Case 3
          txtBeta.Text = "0"
     End Select
End Sub


Private Sub cmdOK_Click()
     Unload Me
End Sub

Private Sub Form_Load()
     cboCauTaoCot.AddItem "Cot khong boc (chen) be tong."
     cboCauTaoCot.AddItem "Cot boc (chen) be tong."
     cboCauTaoCot.ListIndex = 1
     
     cboDieuKienTaiTrong.AddItem "Voi lien ket mot ben"
     cboDieuKienTaiTrong.AddItem "Doi xung chiu tai trong can bang"
     cboDieuKienTaiTrong.AddItem "D/x chiu t.tr khong can bang (tai trong nho)"
     cboDieuKienTaiTrong.AddItem "D/x chiu t.tr khong can bang (tai trong lon)"
     cboDieuKienTaiTrong.ListIndex = 0
End Sub


